package com.chenbing.yunmall.mallproduct.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.chenbing.common.utils.PageUtils;
import com.chenbing.yunmall.mallproduct.entity.SpuInfoEntity;

import java.util.Map;


public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSpuInfo(com.chenbing.yunmall.mallproduct.vo.SpuSaveVo vo);

    void saveBaseSpuInfo(SpuInfoEntity infoEntity);


    PageUtils queryPageByCondition(Map<String, Object> params);


    void up(Long spuId);
    /**
     * 根据skuId查询spu的信息
     * @param skuId
     * @return
     */
    SpuInfoEntity getSpuInfoBySkuId(Long skuId);
}

